home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14267 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  744 b 

  1. Path: garlic.com!usenet
  2. From: Grant Robinson <grant@garlic.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: MFC CArray Template
  5. Date: Fri, 29 Mar 1996 09:15:25 -0800
  6. Organization: South_Valley_Internet
  7. Message-ID: <315C1AAD.725@garlic.com>
  8. NNTP-Posting-Host: h.assign.garlic.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win16; I)
  13. CC: grant@garlic.com
  14.  
  15. In MSVC 1.52, I noticed that the CArray template uses the memcpy and 
  16. memmove functions rather than the contained object's assignment and copy 
  17. functions.  Will this work for any object?  I thought that doing a 
  18. bit-wise copy of an object wreaks havoc to the copy.  What advantages are 
  19. there to implementing CArray this way?
  20.